package com.zq.dao;

import java.util.List;

import com.zq.page.Page;
import com.zq.pojo.Eva;

public interface EvaDao {
	//增
	public void add(Eva eva) throws Exception;
	//删
	public void delete(Eva eva)throws Exception;
	//改
	public void update(Eva eva)throws Exception;
	//查一条
	public Eva findById(int eid)throws Exception;
	//查所有
	public List<Eva> findAll()throws Exception;
	
	//根据Empno查找对应员工是哪一个部门的
	public List<Eva> getManyThings()throws Exception;
	
	
	//将所有的信息分页处理展示
	public List<Eva> findAll(int pageNo)throws Exception;
	//查找对应的页数
	public Page<Eva> getPage(int pageNo)throws Exception;
	//获得信息总条数
	public int getTotalNum()throws Exception;
	
}
